package com.cqjtu.eecs.entity;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 课程-毕业要求
 * </p>
 *
 * @author
 * @since 2022-03-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CourseRequirement对象", description="课程-毕业要求")
public class CourseRequirement implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "培养方案-课程 编号")
    private Integer projectCourseId;

    @ApiModelProperty(value = "毕业要求编号")
    private Integer requirementId;

    @ApiModelProperty(value = "支撑权重")
    private Float backWeight;

    public CourseRequirement() {
    }

    public CourseRequirement(Integer projectCourseId, Integer requirementId, Float backWeight) {
        this.projectCourseId = projectCourseId;
        this.requirementId = requirementId;
        this.backWeight = backWeight;
    }
}
